package com.nc.delivery_project.client.department_details;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.*;

/**
 * Created by miroshnik on 1/9/2015.
 */
public class DepartmentDetailsView extends Composite {

    interface DepartmentDetailsViewUiBinder extends UiBinder<VerticalPanel, DepartmentDetailsView> {
    }

    private static DepartmentDetailsViewUiBinder uiBinder = GWT.create(DepartmentDetailsViewUiBinder.class);

    @UiField
    VerticalPanel panel;
    
    @UiField
    Label departmentIdLbl;
    
    @UiField
    TextBox addressTxtBox;
    
    @UiField
    TextBox postalCodeTxtBox;
    
    @UiField
    ListBox cityLstBox;
    
    @UiField
    ListBox stateLstBox;
    
    @UiField
    ListBox countryLstBox;
    
    @UiField
    Button saveBtn;
    
    @UiField
    Button removeBtn;
    

    
    private DepartmentDetailsActivity presenter;

    public DepartmentDetailsView() {
        initWidget(uiBinder.createAndBindUi(this));
    }

    public void setPresenter(DepartmentDetailsActivity presenter) {
        this.presenter = presenter;
    }

    public void start() {

    }
}
